package com.mall.server.service;

import com.mall.dubbo.api.CmsPrefrenceAreaApi;
import com.tanhua.model.domain.CmsPrefrenceArea;
import com.tanhua.model.domain.PmsProductAttribute;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PrefrenceAreaService {

    @DubboReference
    private CmsPrefrenceAreaApi cmsPrefrenceAreaApi;
    /**
     * 获取所有商品优选
     * @return
     */
    public List<CmsPrefrenceArea> listAll() {
        return  cmsPrefrenceAreaApi.listAll();
    }


    public void updatePublishStatus(List<Long> ids, Integer publishStatus) {
    }
}
